home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
PC World 2007 January
/
PCWorld_2007-01_cd.bin
/
v cisle
/
autoit
/
autoit-v3.2.0.1-setup.exe
/
Examples
/
Helpfile
/
Hwnd.au3
< prev
next >
Wrap
Text File
|
2006-06-17
|
265b
|
8 lines
Run("notepad.exe")
WinWait("Untitled - Notepad")
Local $hWnd = WinGetHandle("Untitled - Notepad")
Local $sHWND = String($hWnd) ; Convert to a string
WinSetState(HWnd($sHWND), "", @SW_MINIMIZE)
Sleep(5000) ; Notepad should be minimized
WinClose(HWnd($sHWND))